<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改厂家服务费管理')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-factoryPay-edit" th:object="${zsyhFactoryPay}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">厂家id：</label>
                <div class="col-sm-8">
                    <input name="factoryId" th:field="*{factoryId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">期初应付服务费：</label>
                <div class="col-sm-8">
                    <input name="payBegin" th:field="*{payBegin}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">本月新增服务费：</label>
                <div class="col-sm-8">
                    <input name="payOn" th:field="*{payOn}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">本月已付服务费：</label>
                <div class="col-sm-8">
                    <input name="payOff" th:field="*{payOff}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">本月剩余服务费：</label>
                <div class="col-sm-8">
                    <input name="payEnd" th:field="*{payEnd}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">核算期间年份：</label>
                <div class="col-sm-8">
                    <input name="periodYear" th:field="*{periodYear}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">核算期间月份：</label>
                <div class="col-sm-8">
                    <input name="periodMonth" th:field="*{periodMonth}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "zsyh/factoryPay";
        $("#form-factoryPay-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-factoryPay-edit').serialize());
            }
        }
    </script>
</body>
</html>